package com.avic.rong.network;

/**
 * created by xtj on 2017/12/6 11:53.
 */

public class Constant {
    public static final String START_ACTIVITY_PUTEXTRA = "initValues";
    public static final int START_ACTIVITY_REQUESTCODE = 0X01001;
    public static final int BACKACTIVITY_RESULTCODE = 0X01010;

    public static String getJavaDataBaseInterfaceUrl() {
        // FIXME: 2017/12/11 设置服务器地址
        if (BuildConfig.DEBUG) {

            return "http://39.106.132.105:80/zyy";
//            return "http://192.168.0.113:8080";
//            return "http://planner.hudongbo.cn/amc/";
        } else {
            return "";
        }
    }

    public static String getPhpDataBaseInterfaceUrl() {
        // FIXME: 2017/12/11 设置服务器地址
        if (BuildConfig.DEBUG) {
            return "http://39.106.216.1/mobile/appservices.php";
//            return "http://192.168.0.113:8080";
        } else {
            return "";
        }
    }
    public static String getEbookDataBaseInterfaceUrl() {
        // FIXME: 2017/12/11 设置服务器地址
        if (BuildConfig.DEBUG) {
            return "http://211.159.151.228:8080/docZhongyi";
//            return "http://192.168.0.113:8080";
        } else {
            return "";
        }
    }
  /*  public static String getToken(){
        try {
            String decode = URLDecoder.decode("w4%2Fb%2BEQcZZnFlmpDOn6EJCjDfFMc9gFKIxhFRm3B2GkLF2xTVRyFnfxTic0l1spUK1MBOtGvWOplYHrSER4cmsIN4jlZeYpVKSEnTQhapbu4%2Fs%2BHGJ9KlA%3D%3D", "UTF-8");
            //订单token
            return "w4/b+EQcZZkXGQeiclU8w9ZS0j0xtIWY0eky1gSci0YLF2xTVRyFnfxTic0l1spUYHZzbgjC7iWlt0HxGkGr7u8TKZue1vKk";
        } catch (UnsupportedEncodingException e) {
            e.printStackTrace();
        }
        return null;
    }*/

}
